package javacompiler.syntax;

public class SyntaxException extends RuntimeException {

	private static final long serialVersionUID = -8118938822155002957L;
	private int line;
	private int column;
	
	public SyntaxException() {
		super();
	}

	public SyntaxException(String message, int line, int column) {
		super(message);
		this.line = line;
		this.column = column;
	}

	public SyntaxException(Throwable cause, int line, int column) {
		super(cause);
		this.line = line;
		this.column = column;
	}

	public int getColumn() {
		return column;
	}

	public void setColumn(int column) {
		this.column = column;
	}
	
	public int getLine() {
		return line;
	}

	public void setLine(int line) {
		this.line = line;
	}
}
